#include "dkglMesh.h"

namespace DKGL
{
    Mesh::Mesh(const String& name):
        Drawable(name)
    {
    }


    Mesh::~Mesh()
    {
    }

    void Mesh::renderImpl()
    {
		Drawable::renderImpl();
    }


	void MeshFactory::registerCreator(const String& type, MeshCreator* creator)
	{
		_creators[type] = creator;
	}

	MeshPtr MeshFactory::create(const String& type, const String& name, const Arguments& args)
	{
		return _creators[type]->create(name, args);
	}



}